package com.gy.universities.dao;
import com.gy.universities.entity.StudyCourse;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudyCourseMapper {
	//根据id查询
	public StudyCourse getStudyCourseById(@Param(value = "id") String id)throws Exception;

	public List<StudyCourse>	getStudyCourseListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudyCourseCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudyCourse(StudyCourse studyCourse)throws Exception;

	public Integer updateStudyCourse(StudyCourse studyCourse)throws Exception;

	public Integer deleteStudyCourseById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudyCourse(Map<String,List<String>> params);

}
